package com.zhengqing.design.create.abstract_factory._01.factory;

import com.zhengqing.design.create.abstract_factory._01.product.conn.IConn;
import com.zhengqing.design.create.abstract_factory._01.product.user.IUser;

/**
 * <p> 抽象工厂类 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2022/12/21 16:19
 */
public interface IFactory {
    /**
     * 建立连接
     */
    IConn getConnection();

    /**
     * 插入用户
     */
    IUser insertUser();
}